package com.zzyl.dto;

import com.zzyl.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 护理计划的数据传输对象。
 */
@ApiModel(description = "护理计划的数据传输对象")
@Data
public class NursingPlanDto extends BaseDto {

    @ApiModelProperty(value = "计划名称", required = false, example = "日常护理计划")
    private String planName;

    @ApiModelProperty(value = "项目计划列表", required = false,
            example = "[{\"projectId\": 1, \"projectName\": \"常规护理\", \"status\": 1}, " +
                    "{\"projectId\": 2, \"projectName\": \"特殊护理\", \"status\": 2}]")
    private List<PlanProjectDto> projectPlans;

    @ApiModelProperty(value = "状态码", required = false, example = "1")
    private Integer status;

    @ApiModelProperty(value = "排序号", required = false, example = "1")
    private Integer sortNo;

    @ApiModelProperty(value = "页码", required = false, example = "1")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页大小", required = false, example = "10")
    private Integer pageSize = 10;

}
